package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrdersPageQueryVO;



public interface OrdersService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO) throws Exception;

    String payment(OrdersPaymentDTO ordersPaymentDTO);

    PageResult page(Integer page, Integer pageSize, Integer status);

    OrdersPageQueryVO orderDetail(Long orderId);

    void cancel(Long orderId);

    void repetition(Long orderId);

    PageResult ConditionSerachPage(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO getStatusStatistics();

    void confrimOrder(Long orderId);

    void deliveryOrder(Long orderId);

    void completeOrder(Long orderId);

    void rejectionOrder(OrdersRejectionDTO ordersRejectionDTO);

    void cancel(OrdersCancelDTO ordersCancelDTO);
}
